import http from '@/common/utils/request.js'

export const product = {
	//获取列表
	getProductList(data){
		return http.get('/merchant/productForC/', {params:data, custom:{}})
	},
	//获取详情
	getProductInfo(data){
		return http.post('/merchant/product/getProductInfo/', data, {custom:{}})
	},
	//保存设置
	setProduct(data){
		return http.post('/merchant/productForC/setProduct/', data, {custom:{}})
	},
	//删除
	deleteProduct(data){
		return http.post('/merchant/product/deleteAction/', data, {custom:{}})
	},
}